Show errors in debug mode

Hide button if repository don not contains '.git' folder