You need to push the branch for them to be able to fetch it.
Even if those users have a direct access to your repo and have added it as a remote, they would still need to fetch your repo in order to realize that you have created a branch.
So the act alone of creating a branch isn't enough to notify anybody.
They need to fetch, or you need at least to push to a repo from which they can fetch.
The OP goose asks in the comments:
Say if someone uses the command: git checkout my-new-branch, will they get the set of changes?
No. They would simply create a branch in their own local git repo.
The documentation on Git branch has a funny expression in the top left corner:
Git --everything-is-local
Everything is local.
it should be as follows: git checkout -b new-branch
AND git push
Is it?
You don't have to push until you are ready.
Creating the branch alone wouldn't be very interesting for others.
Wait until have have made some commits before pushing it.
But the first time you will push said new branch, set its upstream branch immediatly:
git push -u origin myNewBranch
See "Git: Why do I need to do --set-upstream
all the time?".
You only have to do once.
After that, when you want to push again (because you have made additional commits you want to be visible, a simple git push
will be enough.