Is it safe to give people direct access to a git repository hosted on gitlab


some people don’t want a gitlab account to use our repositories if they just use it partly or for only one small project.
Is it then safe to give them access to git directly or do we mess something up then?

Thanks a lot