Create a GIT project under Windows system 1 download Gitbash
https://gitforwindows.org/
2 Setting Sshkey
First check whether the key CD ~/.ssh has been generated, and if the returned LS has 3 files, the key has already been generated.
If there is no key, the
ssh-keygen -t rsa -C "user‘s email"
Generated, the process of generating a 3-time enter the return. (default path, default no password login)
After the build succeeds, go to the corresponding directory C:\Users\ the computer user name. SSH, open id_rsa.pub with Notepad and get SSH key public key.
Switch to the GitHub page, expand the small triangle of your avatar, click Settings, then open the SSH keys menu, click Add SSH key to add the key, and fill in the title (preferably consistent with your local repository).
Then paste the key in the Id_rsa.pub file to this, and the last add key to generate the key
3 Creating a local warehouse
Select the local warehouse folder, and then execute GIT init to initialize the GIT repository
Then execute git add separately. and git commit-m "ADD ..." for local code submission
Then copy the project's warehouse address to the GitHub Web page
Go back and execute git remote add origin "remote Warehouse address" to connect the local warehouse and the remote repository
Finally GIT pull Origin master executes Git push origin master to upload the local project to the remote
To create a GIT project under Windows system