Fixing Git errors