What’s it all about?
Git is an open-source revision control management system, a very efficient tool for managing projects of all sizes. I won’t go into detail, so for all the ins and outs, please visit the official site here for everything you need to know: git-scm.com.
Where to store your repositories
There are many places to keep track and hold your repositories, here are two out of many possibilities;
GitHub is the perfect app to assist with project collaboration. It allows you to commit changes, send pull requests and manage all your public and private git repositories.
Bitbucket, provided by Atlassian, offers you unlimited private repositories, with up to 5 users.
Let’s make a start
For a basic list of commands.
When you first setup Git, you’ll need to set your username and email address to ensure changes (commits) are recorded properly.
git config --global user.name "your name" git config --global user.email "email@example.com"
Creating a new repository
From an existing repository
git clone username_@host/path/to/your/repository
git clone /path/to/your/repository
Check your repository status
This shows the files in your working directory which are staged, un-staged or untracked.
More to be added.