There are many options, however you should take care to properly integrate any solution into your git repository.
Git is revision control system, more precisely it stores a list of snapshots of your project. Each snapshot represents your project at a certain point in time.
Whatever solution you choose, it should be possible for your project to extract test data as it existed at any snapshot in the project history.
For example, if each image exists permanently at a fixed URL, your git project can simply store a text file with all the URLs. At runtime, have a script fetch each image. As your project evolves and images are added or removed from the test set, do not alter the existing URL scheme. Update the pointer file and commit that.
Another good idea might be to record the md5 or sha1 hashes of the images at each URL. Your download script should do a comparison to check at runtime, thus you can be alerted to any inconsistencies.