git config --global init.defaultBranch master

git设置默认分支,主要是git init的时候