git clone some_git_link
cd ~/testgit status --it will give the current branch
git branch -a --List all branches (local and remote)
git add . --to add all files
git commit -m "message" --to commit with message
git push
git checkout -b dev --switching to new branch (-b is for new branch)
git push origin dev
git checkout dev --changing branch
git merge master --get the master branch data
git push origin dev --to push to dev branch
***