Create an account on, should be self-explaining.

Also create a repository; I will call it “testrepo” in this tutorial.

We will use a Ubuntu VM as local machine in this case.

Prepare local directory

I suppose you already have a local project directory which contains all the files you want to upload.

If you use any personal user credentials in your project, please transfer the data to a separate file.

E.g. if you have a file like, also create a neutral file

Then create a file .gitignore with the contents you do not want to be uploaded:


Upload local files

First preparation:

Add and upload all files:

Modifying a file is quite similar:



Share This:

  [email protected]