GitHub is a web-based Git or version control repository and Internet hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project. Read More Wiki
GIT is to be installed by terminal command in Mac OS so we need Home Brew to install it, which is very easy method via using terminal.
Steps for Installation Home Brew
Git clone
You can clone any repository from git by using Git Clone Command.
Using CD commands get to folder were you want to clone repository.
Git Status
Checking status of files in master
Git add .
To add your all file and ready for commit.
Git Commit -m "Your Comment"
Commit create packet to send with your comment what is change done in to the packet so it shows in timeline
Git Pull
Before push it is advised to do a pull so any changes done by other comes to your local repository.
after pull you may require to use :q command to quit pull request at end.
Git Push
Git Push is final command to send packet to server were it set all file with changes