Put New Project Under Version Control

The fastest way to register a new project directory under local version control.

You have a new project, or opened a project not under version control. First thing is to fix that by making a local repository.

You can use your mouse to go to the VCS | Enable Version Control Integration menu item. But you can also do this from the keyboard, to get to the same dialog, without leaving the keyboard.

Use Find Action ⌘⇧A (macOS) / Ctrl+Shift+A (Windows/Linux) and speed search for en ve co (meaning, Enable Version Control). It should be the first matching item. Press (macOS) / Enter (Windows/Linux) to invoke it.

The dialog that pops up wants a selection of which VCS system to use. If it is Git, type g and the dropdown will select Git. Select OK to perform the operation.

This action adds a VCS root in your Settings/Preferences | Version Control preference. Later, when you want a remote, you can use, for example, Share Project on GitHub.


Related Resources

Clone from GitHub
Clone from GitHub
Create a project in your JetBrains IDE by cloning it from GitHub
Resolve Conflicts
Resolve Conflicts
Resolve merge conflicts automatically and manually inside your JetBrains IDE.
Move Work Aside with Stash
Move Work Aside with Stash
Use Git's stash to move uncommitted work to one side, temporarily.