- Create a Repository on GitHub
- Every person must clone the repository on their computer.
git clone <Remote Repository>
- Create a new branch locally
git checkout -b <branch name>
- After we do our changes we should add commit and push them
git add .
git commit -am "message"
git push -u <branch name>
-
If there are no conflicts merge directly to the main branch
- else resolve the conflicts and merge afterwards
git branch -d <branch name>
- Pull the main branch in order to have the latest code on your computer.
git pull