Token is stored in your browser session only and cleared when you close the tab.
Create a token with repo or contents:write scope.
repo
contents:write