If you are like me and use GitHub for Windows instead of Git you may have noticed git commands are not available in command line and Git’s executable is nowhere to be found. 

Git’s executable is actually located in:


Now that we have located the executable all we have to do is add it to our PATH:

  • Right-Click on My Computer
  • Click Advanced System Settings
  • Click Environment Variables
  • Then under System Variables look for the path variable and click edit
  • Add the path to git’s bin and cmd at the end of the string like this: