only reading git head if a git repository