I have a directory containing my code and very large files (e.g. data files and large deep learning models). Ignoring those large files, I have uploaded the code onto a GitHub repository.

Now, I also have set up a remote server (AWS EC2) where I have cloned that very repository. However, because I want to do work with the data and these large files, what's the best way to set up a good workflow? Should I upload those files to my server and just set up a .gitignore — is there a smarter way of doing this?

Sorry for the noob question, thanks!