git init command

To take a directory and turn it into a new Git repository so you can start version controlling it, you can simply run git init.