Skip to content

Cookie Policy

GitHub added one new essential cookie, __Host-ghlw, to its cookie table. It's used to make sure that after you make a change on GitHub, your next page loads show the updated data instead of stale data. This is a routine technical cookie with no tracking or advertising purpose.

Cosmetic change: formatting, typos, or contact details.

20260822_rev01 → 20261117_rev01COLOUR MARKS THE SEVERITY OF A FLAGGED CLAUSE · + AND − MARK ADDED AND REMOVED
1616| GitHub | `ghcc` | This cookie validates user's choice about cookies | 180 Days |
1717| GitHub | `_gh_ent` | This cookie is used for temporary application and framework state between pages like what step the customer is on in a multiple step form. | Two weeks |
1818| GitHub | `_gh_sess` | This cookie is used for temporary application and framework state between pages like what step the user is on in a multiple step form. | Session |
1919| GitHub | `gist_oauth_csrf` | This cookie is set by Gist to ensure the user that started the oauth flow is the same user that completes it. | Deleted when oauth state is validated |
2020| GitHub | `gist_user_session` | This cookie is used by Gist when running on a separate host. | Two weeks |
2121| GitHub | `has_recent_activity` | This cookie is used to prevent showing the security interstitial to users that have visited the app recently. | One hour |
22| GitHub | `__Host-ghlw` | This cookie is used to ensure that after you make a change, your next requests see that change rather than outdated data. | Session |
+ ADDEDNew session cookie added: __Host-ghlw

GitHub added a new first-party cookie called __Host-ghlw. It helps make sure that right after you make a change on the site, the next pages you load reflect that change instead of showing old, outdated information. It only lasts for your browsing session and isn't used for tracking or ads.

2223| GitHub | `__Host-gist_user_session_same_site` | This cookie is set to ensure that browsers that support SameSite cookies can check to see if a request originates from GitHub. | Two weeks |
2324| GitHub | `__Host-user_session_same_site` | This cookie is set to ensure that browsers that support SameSite cookies can check to see if a request originates from GitHub. | Two weeks |
2425| GitHub | `logged_in` | This cookie is used to signal to us that the user is already logged in. | One year |
2526| GitHub | `marketplace_repository_ids` | This cookie is used for the marketplace installation flow. | One hour |
2627| GitHub | `marketplace_suggested_target_id` | This cookie is used for the marketplace installation flow. | One hour |
2728| GitHub | `notifications_web_disabled` | This cookie caches whether web notifications are disabled, so the global navigation notifications indicator can be rendered without an additional lookup. | One month |