# Adding a file

A new file is created with the «Add file» button on the repository page; ready files from your computer are uploaded with the same button, in the «Upload» block.

> **Who can use this:** Requires write access to the repository.

## Create a file

1. Open the repository on the **Files** tab and switch the branch if needed.
2. Press **Add file**. In the form that opens, enter the file name — with folders separated by
   `/`, for example `notes/physics/ohms-law.md`. Folders do not need to be created separately: they
   appear together with the file.
3. Press **Create**. The [editor](https://skillok.org/docs/en/repositories/files/editing-a-file) opens — write the text
   and save it with a commit message.

## Upload from your computer

The same form has an **Upload** block with a **Choose files** button. You can pick several files at
once. The limit is 50 MB per file; anything bigger goes through `git push`.

## Where the file goes

The file lands in the folder you are looking at and in the branch selected in the branch switcher.
The commit appears in the history under your name.

---

https://skillok.org/docs/en/repositories/files/adding-a-file
