I found a way to bypass the cache at this StackOverflow post.
The solution is to append ?token=$(date +%s) to the URL. So for my purpose:
?token=$(date +%s)
curl https://raw.githubusercontent.com/<file_path>?token=$(date +%s) -o .