Fixed a bug in the git settings class