setup git repo locally for different people without giving my password

Multi tool use
setup git repo locally for different people without giving my password
I want to setup a git repo in one of my cloud instance to share with a few people.
Currently I've set it in /home/my_home_dir/git_dir. However, it always ask for my password when my teammates want to clone from it. Is there any way to set it up without giving away my password or private key?
Thanks...
1 Answer
1
You can invite users to become collaborators to your personal repository.
Repositories owned by an organization can grant more granular access. For more information, see "Access permissions on GitHub."
Note: GitHub limits the number of people who can be added to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.