Using Github helps me share my code easily. In a public repository anyone can view code via the Github website. If you want to work with the code then you can use git clone
to copy the remote repository to your development machine. The easiest way to clone the repository is to use its public http address.
However, if you want to push changes back to a remote repository, then you need to use https or Secure Shell (SSH). As you have to enter your Github username and password each time you do a pull or push, its much simpler to use the SSH protocol git@github.com:/_username_/_repository_
, especially once you have to set up a public key for a secure shell (SSH) connection to Github.
Read More