When trying to bind a hub repository to the prime repository, an error appears:
The hub repository is located at: /root/site_hub.git: Prime is located at /var/www/anton/data/www/....com/.git
The hub repository is created with the --bare directive.
What can mean an error
error: can't run git-upload-pack '/root/site_hub.git': No such file or directory
There /root/site_hub.git/objects/pack no files in the /root/site_hub.git/objects/pack directory. By ssh I go under the root. Everything is as in the article: https://habrahabr.ru/post/127213/

git worktree, and use branches. In short, the idea is this. We create the main hub repository (BARE), in it we do a worktree to the place that you have called prime from the prime branch. Everything. No remote, no hemorrhoids. - 0andriy