First Configuration
git config –global user.name “<username>”
git config –global user.email <email>
git config –global push.default matching
git config –global alias.co checkout
Using GIT
git init
git add -A
git status
git commit -m “message”
Revert back to a previous commit
git checkout (to revert)
Create a branch
git checkout -b “branch name”
see the branch:
git branch
Merge changes with master branch
git commit -am
git checkout master
git merge “branch name”