Associating a Project Root with a Version Control System
PhpStorm allows you to quickly enable your project's integration with a version control system, and associate it with the project root. For instructions on how to associate separate project directories with different version control systems, refer to Associating a Directory with a Specific Version Control System.
To assign a version control system to the project root
- Choose VCS | Enable Version Control Integration on the main menu, or press Alt+`, and select Enable Version Control Integration....
- In the Enable Version Control Integration dialog box that opens, select a version control system from the drop-down list that you want to associate with your project root.