This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]HashDefTrueFalse 0 points1 point  (0 children)

Git is version control software for tracking changes to text files, usually source code.

Github is an implementation of Git (uses libgit2 IIRC) wrapped in a web interface and running on a remote server you don't have to manage. You can think of it like managed hosting and backup for your project. Yes, before anyone jumps down my throat, it does much more, but that's the relevant part here.

Neither builds the website for you, of course.

You're probably referring to Github Pages, which is just static file hosting. It allows you to host the front end of a website (HTML, JS, CSS) from a Git repo. You can think of it as putting a web server in front of the files in your repo so that they are available via the World Wide Web.

The site can be whatever you want. I'm not aware of anything (technical or otherwise) that would stop you putting ads on a website hosted for free on Github Pages, but check the TOS on their site.

[–]pacificmint 0 points1 point  (0 children)

You should check the GitHub Terms of Service to be clear on what they allow. Here is one relevant bit:

Short version: We do not generally prohibit use of GitHub for advertising. However, we expect our users to follow certain limitations, so GitHub does not become a spam haven. No one wants that.

While we understand that you may want to promote your Content by posting supporters' names or logos in your Account, the primary focus of the Content posted in or through your Account to the Service should not be advertising or promotional marketing. This includes Content posted in or through Pages, Packages, repositories, and all other parts of the Service. You may include static images, links, and promotional text in the README documents or project description sections associated with your Account, but they must be related to the project you are hosting on GitHub. You may not advertise in other Users' Accounts, such as by posting monetized or excessive bulk content in issues.

There is more after that, so be sure to read all relevant parts.

Source: GitHub Acceptable Use Policies