This website gives instructions for initializing a git repository using usethis::use_git() to initialize a git repository, gitcreds::create_github_token() with gitcreds::gitcreds_set() to get/set a unique token, and usethis::use_github to connect R Studio to github, which I was able to use to commit my .gitignore and .gitconfig files to github-> How to Use Git/GitHub with R - R for the Rest of Us.
However, R isn't recognizing any changes from .R or .rmd files that could be committed to github on the Git tab in R Studio. Why might this be? Is there anything in my .gitignore file that could be causing the issue?