1. Download Mygit the next default installation
2. Download Tortoisegit
3. Set up Git
$ git config --global user.name "your name"
$ git config --global user.email [email protected]
4. Create an SSH key locally
$ ssh-keygen -t rsa -C [email protected]
The following [email protected] changed to your mailbox, then asked to confirm the path and enter the password, we use the default all the way to the line. Successful words will be generated under ~/. SSH folder, go in, open id_rsa.pub, copy the key inside.
Go back to GitHub, go to account Settings, choose SSH keys,add ssh key,title on the left, and paste the Key. In order to verify success, enter it under GIT bash:
$ ssh -T [email protected]
If it is the first time will prompt whether continue, enter Yes will see: You ' ve successfully authenticated, but GitHub does not provide shell access. This means that you have successfully connected to GitHub.
5. Log on to GitHub and then, in the upper right corner, find the "Create a new Repo" button to create a new warehouse
6. If a new project is local to be submitted to GitHub
First create repostory in the project directory
Windows git installs to push items to GitHub