Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Put Your Code in the Cloud
39%

Back in your terminal, make sure you're in your project directory:

cd ~/my-calculator

Now add the GitLab repository as a remote. A remote is just a named URL that points to a repository on a server. The default name for the primary remote is origin:

git remote add origin git@gitlab.com:yourusername/my-calculator.git

Replace yourusername

Learn Git in a Day

Everything you need, nothing you don't

Enroll now to unlock all content and receive all future updates for free.