How to Install and Use Git With Github on Windows 10

Categories Git, Github, Windows

You can download Git from the official website here.


  • Locate and execute the Git- application from your Downloads folder.
  • Run the installer which will open the Git Setup wizard screen. Follow the Next and Finish prompts to complete the installation. The default options should be fine.
    ***NOTE: I set Notepad++ as the default editor along with Windows default command console ***
  • After finishing the install open a command prompt and navigate to the folder which you want to pull to using Git.
  • Now that I have my files pulled from Github I will use the Source Control feature in Visual Studio Code and select my directory location.
  • ***NOTE: You can do all of this from within VS Code but I prefer to use command line. Use whatever you’re comfortable with.***
  • Now I create a new text file and save it in the folder that I have initialized.
  • I verify I am in the proper directory and can see my new text file named ‘windows_git_text.txt’ and verify the home directory /top folder is initialized via Git.
  • Next we add the new file to git with the git add command.
  • Then we use git commit -m “string” command to give verbose input as to why this change has been made. This is optional but a good practice to use.
  • We push our text file to Git.
  • A browser page is displayed with a login. Login with your Github credentials.
  • Next authorize the GitCredentialManager.
  • Check your windows or Git command prompt and you will see we have added this new file to our Github main branch in our Python project.

For the sake of sanity we can verify this by browsing to the location on our Github.

Github – Create a Repository and Push Your Code with Git

Categories Git, Github, Linux, Python
  • Create a repository name and give it a description.
  • Set the repository for public view or private where you can control who sees the repository.
  • You can select to auto generate a README file for general information about the repository.
  • You can choose to add a .gitignore which will omit tracking.
  • You can also give permissions VIA licensing.
  • Once the repository is created you can hop over to the terminal and follow the same syntax to initialize and push your files to the Github repository.
  • After a successful push you will now be able to see the content inside of the Github repository.

A Few Benefits

  • Easier project contribution
  • Version control
  • A showcase for your work