This post is just for my personal reference ๐
To clear the cache for specific file
git rm --cached file.conf
Clear Entire Git Cache
git rm -r --cached .
Delete local tag
git tag -d <tag_name>
Delete remote tag
git push --delete origin <tag_name>