VCS--->Enable Version Control Integration,然后选择git就可以了