-
Install Git in Windows, go to Source Control of VSCode and click Download Git for Bad-Ass Windows
-
or go to this https://git-scm.com/download/win
-
select Windows either 32/64 bit depending on your System
-
follow the damn steps, mostly click Next by default except VSCode as the editor instead of Vim
-
Go back to muthaf*ckin' VSCode Source Control Tab or Reload it, you can start clean by opening a new VSCode Window
-
Open Terminal, New Terminal
-
at the Terminal on the muthaf*ckin' bottom right of your screen, select type of terminal, click Git Bash
-
on your terminal
cd Desktopor any other location you want/required by the project likehtdocs, then clone a existing repo on GitHubgit clone "the remote repo -
open a New Folder on goddamn VSCode and select the one you just cloned
-
start editing,
git add .,git commit -m "message",git push -
the first time you push, it will fail the goddamn authentication, go to VSCode Settings search for
git.terminalAuthenticationand uncheck the option -
git push again, there will be a f*ckin' pop-up to authorize authenticating Git via your browser, make sure the active browser is logged in to GitHub
Once you learned Git basics, it's better to use GitHub Desktop, it's a Git UI version, because you can see exactly the f*ckin' files that have changed and those you will be committing and in actual development, mostly you will be using branches to control the changes like you can sumbit a PR first
you may want to take a muthaf*ckin' look at this
https://github.com/jdevstatic/my-github-desktop-commit-workflow
or simply use the basic Source Control of f*ckin' VSCode
