Adding expection on .git folder being present when running git commit