gittest: Configure default branch to be master
Many tests depend on the fact "master" is the initial branch. To overcome the case when the user has set anything else in their git-config, configure git in tests to have "master" as the default branch.
This change was introduced before in [1], but was unintentionally removed in [2].