**Git says `fatal: refusing to merge unrelated histories`.**
Git says **`Pulling without specifying how to reconcile divergent branches is discouraged`**
- Run `git config pull.rebase false`
Git says **`fatal: refusing to merge unrelated histories`.**
- Add `--allow-unrelated-histories` argument and try again.
**I cannot push to git, I am getting a message: ```GitLab: you are not allowed to push code to this project. Fatal: Could not read from remote repository.```**