how to clear cache for your git in console code example Example: git clean cache $ git rm -r --cached .