Artifactory supports repos for Git Large File Storage (Git LFS).
With these repositories set, you may allow for files sent to GitHub to be stored on Artifactory to improve performance (more details).
However, if a file is deleted from GitHub that has been stored in Artifactory, it is not automatically deleted.
To clean up files from Artifactory that no longer exist in Github, you should use the JFrog CLI, which makes this process simple and clean.
With the CLI configured to your server, you simply need to run the following command and your repositories will be cleaned.
jfrog rt glc
For more details, please read our official documentation.