Navigate to the themes directory and then enter git.txt into cmd/terminal, follow up with npm, grunt, gulp, etc.
git clone --branch 8.4.2 https://github.com/roots/sage.git theme-name