Connecting a local project to GitHub

I recently deployed my first site on Netlify and successfully connected my custom domain to it. When I deployed however, I added files manually and not through my GitHub repository. Is it possible to connect my local site to my GitHub repo?

I’m not sure I understand your question. Are you asking about how to connect your local folder to GitHub? If so, there are several articles over the internet that you could refer to. If you wish to connect your GitHub repo to Netlify, you could do so in site settings.