Synchronously get the current git commit hash, tag, or branch