I'm not sure if this is the correct place to ask, but I had a quick question regarding using the word/trademark "GitHub" in my Android application's source code (not that actual part that users can view).
I am considering developing and distributing an Android application on the Google Play Store. I was following along with the Android Developer docs on creating an Android app (https://developer.android.com/training/basics/firstapp/creating-project) and came across Step 4, where I needed to "configure the project".
In the tutorial, the docs recommended entering the value "com.example.myfirstapp" for the package name. I am now attempting to create an actual application (not a Hello World app).
I am currently utilizing the free tier of GitHub Pages for my personal website, and plan to create an Organization Pages site that is structured like so: "https://myfirstapp.github.io/". If I used that site structure for my package name, it would look like this: "io.github.myfirstapp.myfirstapp" ("myfirstapp" is twice because it is the name of the website and then the name of the actual app).
However, I was wondering if I could legally use the word "GitHub" in my package name since I believe it is trademarked? I plan to sell this application to users, so I would be profiting from this app. Note that I am not planning to use the word "GitHub" in the name of my app when I market it on the Google Play Store (I wouldn't call my app "The GitHub App!", etc.).
I was trying to create my first app and I was on a low budget, so I decided that I should make use of the free option of GitHub Pages (pages.github.com) to market my app. The free option of GitHub Pages provides me with a URL that has the word "GitHub" in it: "example.github.io". The above is only background details - my question is not regarding that. I was inquiring specifically about using that URL with the word "GitHub" in the source code of my Android app. I plan to open-source the app on GitHub, so obviously, the source code would be visible to anyone who was interested in viewing it. So, I am in fact wondering if I can legally "use the word 'GitHub' in [the] source code 'not the part that users can view'". I know that I can use the domain name with GitHub because that is provided in their service. The part about using GitHub in my package name is elaborating on the source code part (the package name is in the source code - i.e. it's pretty much a way to organize "folders" in the Java programming language).Regarding GitHub's Terms of Service, do you know what general area I could find something like this? I tried looking at it (help.github.com/en/articles/github-terms-of-service) but the section about GitHub Pages does not answer my question - I don't know if there is some other section that would usually have the answer to questions like mine? Well, actually I just found this: help.github.com/en/articles/what-is-github-pages. And maybe this: https://help.github.com/en/articles/github-terms-of-service#k-advertising-on-github. But I'm still a little confused...