Extract Git info from working directory