Only get git information if .git dir present
Bump patch number