Fix warnings
Fix warnings
Skip git tests when git is not installed