Github Quick Start

When I first started to use git I was using Bitbucket as my remote repository. As a tool for committing code and keeping local and remote repositories in sync I used SourceTree. While there is nothing wrong with this set up I have noticed that Github appeared to be the remote repository of choice on web articles I was reading. So I decided to give it a try. Here is my quick start guide.

1. Create Github account

https://github.com/

2. Install GitHub for Windows on computer

https://windows.github.com/

3. Create a repository, quick-start, on Github

create_github_repository

5. Copy the https link. Make a note of it.

https

6. Open GitHub for Windows.

open

6. Create a new repository.

create

7.  Add file to project folder, e.g. pommy.txt

pommy

8. From Git for Windows open a command shell

shell

9. Check the status of the repository

status1

10. Add the file to the local repository.

add

11. Check the status of the repository again.

status2

12. Commit the change to the local repository.

commit

13. Check the status of the repository again.

status3

2. Create a remote reference to the Github repository

remote_add

13. Check to see that remote has been added

remote_list

14. Sync the remote repository with the local repository.

pull

15. Push changes in the local repository to the remote repository.

push

16. View the github repository

github

So there you have it a Github for Windows quick start.  There is so much that can be accomplished with git. This just scratches the surface and I hope it is a useful stepping stone.