We are working on a project that uses a repository SomeRepo on Github. Our project is hosted on private git server, let's call it myhub. We want to make a copy of SomeRepo from Github to myhub. We also want an ability to update our copy on myhub frequently from Github. I read quite a few different answers involving --mirror and --bare but they all look different and so I'm doubtful about best way of doing this. I even saw an answer that doesn't mention using these flags at all.
What is the best way to achieve this? Some reasoning of options used in command would be great as well.