Steps for Collaboration in GIT
Step 1: Create a Repository
Step 2: Add files to your project. Open Git Bash into your local working directory where files are saved and follow the commands:
$ git init $ git add $ git commit -m "initial commit" $ git remote add origin remote repository URL $ git remote -v $ git push -f origin master
Step 3: Adding your Collaborators. Click on settings and then follow the below steps :
After clicking on “Invite a collaborator” fill in the required details and then you are done.
Note: In order to perfectly work in a collaborative team you need to know below terminologies and their applications.
What is Collaboration in Git?
Pre-requisite: Git & GitHub