You should git clone <remote_url>
the repo to your local machine, then git branch <your_branch_name>
and then switch to it with git checkout <your_branch_name>
. Now every commit will go to your new branch.
When you are done with your work and want to merge the changes to master, depending on your setup, you can simply merge or create a pull request and have the administrator verify it and then merge.
To merge to master, first switch to the master branch git checkout master
and then git merge <your_branch_name>
. Don't forget to git push
to propagate the changes to remote.
If you are new with git, try this interactive tutorial to learn the basics: https://learngitbranching.js.org/