The other day, I wanted to work with many git accounts on my laptop and I felt it was not easy and required many steps. I had to understood how things work actually when you use git via ssh and the role of ssh-agent. Also had to refer many articles and connect dots from them to be able to make it work for me. I felt I should document these steps so it can help other folks use this and save time and possible pain :-)
If you don't have the need to use many git accounts - am sure there will be learnings for you on how things actually work. So stay with me and keep reading
In case you have an existing git setup and looking to to start fresh, head to Troubleshoot section