Only enable git plugins when in a git repository