I want to use my own repository and not Huggingface

Can we still use the libraries, models, datasets, etc if we use our own private git repos instead of the one offered by Huggingface?

I did a search for this and didn’t find any relevant discussion on this topic.