---
# System prepended metadata

title: Setting up the project

---

# Setting up the project

## Clone the project
Clone [scala-course-2022-spring](https://github.com/KarazinScalaUsersGroup/scala-course-2022-autumn) project:
```
git clone scala-course-2022-autumn
```

## Delete .git
In a project folder find hidden folder `.git` and delete it.

## Initialize new repository

```
git init
git add .
git commit -m "Init repository"
```

## Create new remote repository
Create a new **private** repository `scala-course-2022-autumn` on https://github.com/ under your account.
![](https://i.imgur.com/vAf3I4d.png)


## Invite me to the project
Invite https://github.com/IgorWolkov to the project

## Push local repository
Push your local `scala-course-2022-autumn` repository.
![](https://i.imgur.com/H3YQ2fR.png)

## Add new remote
Add KarazinScalaUsersGroup `scala-course-2022-autumn` repository as a new remote

```
git remote add scala-course-2022-autumn https://github.com/KarazinScalaUsersGroup/scala-course-2022-autumn.git
```

## Update repository
To update your repository with the new changes from KarazinScalaUsersGroup `scala-course-2022-autumn` (i.e. new topics and homeworks) use

```
git pull scala-course-2022-autumn
```