Update .bash_profile

This change accounts for a bare git repo so calling commit history doesn't throw an error.