Tap credentials location

My company hosts a brew repository for internal projects. When I brew tap the first time, it asks me for my username and password. The credentials are cached somewhere apparently, because everything works great for a while after that without ever asking me for username or password again.

Every three months or so, my company makes us change our password. After that, I can no longer pull from my tap. Is there a place I can change the password, or have it ask me again? The only way I’ve found to manage this is to brew untap the repo followed by a new brew tap

brew is just git underneath everything else. You could do cd $(brew --repo your/tap) and try and git pull there