1.Download the latest Git for Windows installer.(https://git-for-windows.github.io/)
2.When you've successfully started the installer, you should see the #### Git Setup wizard screen. Follow the Next and Finish prompts to complete the installation. The default options are pretty sensible for most users.
-
Open a Command Prompt (or Git Bash if during installation you elected not to use Git from the Windows Command Prompt).
-
Run the following commands to configure your Git username and email using the following commands, replacing Emma's name with your own. These details will be associated with any commits that you create:
$ git config --global user.name "Emma Paris"
$ git config --global user.email "[email protected]"
- You are done .