Git is a source control mechanism, not a publishing platform.
You can "upload" whatever you want to a git repository if you have access:
But, your use of the word "upload" suggests that you don't really know what git is for, and suggests that you are trying to do something very different to "give code to people"
Could you explain what you are really trying to do here?
If you haven’t already read our recent announcement “ Accelerating our journey to the cloud, together ” and reviewed the related information that we added to our website , please start the...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events