bash prompt: combine 'git rev-parse' executions in the main code path