GIthub collab codes step : 1 For creating new branch git checkout -b {branchname} step : 2 set the upstream everytime after creating a new branch git push -u origin {branchname} Pull the code before pushing to the main file git pull origin {branchname} check current branch name git branch -vv