Steps to repro:
➜ ~ mkdir dummy-repo
➜ ~ cd dummy-repo/
➜ dummy-repo git init
Initialized empty Git repository in /usr/local/google/home/ntfschr/dummy-repo/.git/
➜ dummy-repo git:(null) mkdir sub/
➜ dummy-repo git:(null) cd sub/
➜ sub
Expected results:
I would expect the last line to say:
Screenshot:
Your fork:

The original robbyrussell zsh theme:

(I'm not including all of oh-my-zsh, so the colors and symbols are off, but the git stuff works as expected)
Also, any reason why you're returning null for a fresh branch instead of master? Not sure if this is intentional or not.
Steps to repro:
Expected results:
I would expect the last line to say:
Screenshot:
Your fork:

The original robbyrussell zsh theme:

(I'm not including all of oh-my-zsh, so the colors and symbols are off, but the git stuff works as expected)
Also, any reason why you're returning
nullfor a fresh branch instead ofmaster? Not sure if this is intentional or not.