When you use git init
to create a new repository, Git will automatically create a branch called master. You can change the name of the initial branch from Git version 2.28 onwards.
To setup Geeks
as the default branch name on Git, run the below command:
git config --global init.defaultBranch Geeks
To list all your Settings run :
git config --list
To know more options available on Git Config run:
git help config
Also Read:
How to Setup username and password on Git