How to add existing project to git and configure remote repository

You already started a new project, but it is not under GIT yet. No problem, let’s create a local repository dedicated to your project :

Et voilĂ .

Now, in order to have the project available everywhere, you can configure a remote GIT repository. You first have to log into your remote host and configure a new repository :

Now, go back to your local project directory and configure remote url and then push your project :

That’s all.