Added git flag to repo model