# A repository couldn't be imported

What "git fetch failed" and the other messages of axle import mean, and how to fix them.

```text
error: git fetch failed: fatal: repository 'https://github.com/acme/billing.git/' not found
hint: Nothing was imported. Check the repository's address and branch, and that you can reach it.
```

## Why it happens

[`axle import`](https://axlers.dev/docs/reference/import.md) runs Git to fetch the repository and merge it into a folder, and one of those steps failed. Git's own message follows the step's name. The usual causes are an address with a typo, a branch that doesn't exist, a private repository you have no access to, or no network. The same code is used when the repository starts with `-`, or the branch starts with `-` or `+` or has a `:` or `*`, which Git would read as an option or as more than one branch, or when the folder is outside the repository, such as `../billing`.

## How to fix it

Nothing was imported, and the repository is as it was. Check that `git fetch <repository> <branch>` works in the same terminal, then run `axle import` again. Give the folder relative to the repository's root, such as `packages/billing`.
