Git Install & Usage
   1 min read

Git Installation

  1. Download Git

  2. Select the following options in each installation window:

    Screenshot of 1st Git install window.

    Screenshot of 2nd Git install window.

    Screenshot of 3rd Git install window.

    Screenshot of 4th Git install window.

    Screenshot of 5th Git install window.

    Screenshot of 6th Git install window.

    Screenshot of 7th Git install window.

    Screenshot of 8th Git install window.

    Screenshot of 9th Git install window.

    Screenshot of 10th Git install window.

    Screenshot of 11th Git install window.

  3. Click the Install button.

Git usage (common commands)

  • Right-click on the repository root folder add select ‘Git Bash Here’.

  • To see new files or modified files: git status

  • To create a new git repository: git init

  • To stage files: git add .

  • To commit files: git commit -m "Initial commit"

  • To set remote GitHub repo url: git remote add origin <path to repo>

  • To push files to GitHub repo: git push origin master