Improve git integration