You can find out who created the branch in the local repository,
git reflog --format=full
Output Example:
commit e1dd940 Reflog: HEAD@{0} (a <a@none>) Reflog message: checkout: moving from master to b2 Author: b <b.none> Commit: b <b.none> (...)
But this is probably useless, as usual in your local repository, only you create branches.
Information is stored in. /.git/logs/refs/heads/branch. Content example:
0000000000000000000000000000000000000000 e1dd9409c4ba60c28ad9e7e8a4b4c5ed783ba69b a <a@none> 1438788420 +0200 branch: Created from HEAD
The last commit in this example was from user "b", and the branch "b2" was created by user "a". If you change your username, you can make sure that git reflog takes information from the log and does not use a local user.
I do not know about the possibility of transferring this local log information to a central repository.
Gustave Aug 05 '15 at 15:47 2015-08-05 15:47
source share