This is because every cloned repo stores local state. Local state is sticky, it collects garbage, and it becomes stale very quickly.
Doing something complex in git with a local repository is usually not the thing you want. What you want is to fix some garbage state you added to a local. Hence, turning it off and turning it back on, instead of pushing garbage state into the central flow.
I think the tool in question (git) is complete and what you want is an incomplete simplification. Preferring incomplete simplifications to complete toolchains is hobbling and a significant hazard to your project.
A beloved co-worker and the best engineer on my team suddenly had to leave 2 months ago because his H1B renewal was denied. He asked the company HR for help and they sent him home immediately. Tears in his eyes he left us on a Thursday, and we didn't know what to say or how to feel.
This is just how it goes. No matter how much we wanted him to stay, there was nothing to be done about it at our level.
My mood disorder has made my whole career a rocky journey. I'm 43 now, and doing well in my current role.
Managing your depression will always be part of the trip. Don't listen to the voice(s) that say you are a failure/loser/underperformer, just do your best. Say it to yourself whenever you need to: "I'm doing my best, and that's how it will always be."
Strangely, when I know that I'm doing my best despite everything, I feel calm.
I can't find a single admirable thing about Roth from his writing. Selfish, consumed by sexual desire during years when he ought to have learned long ago that sex is a procreative pursuit, all in the pursuit of a particular kind of admiration from both men and women.
"A couple of misguided attempts at courtship followed, painful for the women involved. Then he closed the door on erotic life entirely. He’d learned how to be an elderly gentleman who behaves correctly. He joined the ranks of the sexually abdicated."
Why it is so fascinating for some that Roth raged against the cooling of his sexual urges, I'll never know. He seems like the biggest twat ever.