I want to use Git to essentially just backup specific file types like .png and .jpg. So that there's never more than one copy of those files in my repo.
I imagine I could remove the files from Git and then recommit them every time, but I'd like to do that only when there's actually been a change in the file to avoid unecesssary copy time.
To describe my use-case: I use git with Xcode just to view changes of source files. I push to a cloud synced folder to have a backup of my project. I want to backup my resources like images in the same commit action, but not keep multiple copies/changes of them in my repo.