title: How to clear git caches?
body: <p>When I list my branches with <code>git branch -a</code>, git shows me remote branches I can't actually find on my remote(gitlab). I tried to checkout and track those branches, and to my big surprise, git did it. But when I do for example <code>git push origin :branch_name</code>, git says that the remote ref does not exist, thus proving that I do not have those branches in my remote. Hence I have a question, are those branches stored in some kind a local cache? And if yes, how to clear it?</p>