I have authenticated my github account (got a personal access token) but am finding it hard to get it working. It's stored in my .Renviron file, and I added it to my windows credential manager.
When I do
curl -i -u <user>:<token> https://api.github.com/users/rate_limit in git bash it says my limit is 5000.
But if I were to go
https://api.github.com/repos/tidyverse/dplyr/git/trees/master?recursive=1 then it says my limit has been reached. How do I make this call in a way that the API knows that I am an authenticated user?