Improve git config for class 3 and 4