I have a remote repository in mainline branch. I want to add a private branch that gives access to me and my friend alone. How to commit and push the code in that private branch. Can you please help me with the git commands to do the following tasks. I am using a windows OS.
1. create a private branch
2. add a friend to the branch
3. commit and push the code to the branch
This is the branch which I am in. I need to push the project repository in the private branch created.
C:\Users\MyProject>git branch
* mainline