To hide parts of your profile page, you can make your profile private. This also hides your activity in various social features on GitHub.com. A private profile hides information from all users, and there is currently no option to allow specified users to see your activity.
After making your profile private, you can still view all your information when you visit your own profile.
Private profiles cannot receive sponsorships under GitHub Sponsors. To be eligible for GitHub Sponsors, your profile cannot be private.
When your profile is private, the following content is hidden from your profile page:
- Achievements and highlights.
- Activity overview and activity feed.
- Contribution graph.
- Follower and following counts.
- Follow and Sponsor buttons.
- Organization memberships.
- Stars, projects, packages, and sponsoring tabs.
- Your pronouns.
Note: When your profile is private, some optional fields are still publicly visible, such as the README, biography, and profile photo.
By making your profile private, you will not remove or hide past activity; this setting only applies to your activity while the private setting is enabled.
When your profile is private, your GitHub.com activity will not appear in the following locations:
- Activity feeds for other users.
- Discussions leaderboards.
- Site-wide search results.
- The Trending page.
Note: Your activity on public repositories will still be publicly visible to anyone viewing those repositories, and some activity data may still be available through the GitHub API.
In the upper-right corner of any page, click your profile photo, then click Settings.
Under "Contributions & Activity", select the checkbox next to Make profile private and hide activity.
Click Update preferences.