General Git Improvements and Mac QT5 Build fix