Don't go back to same place if it's a gitcommit