Code cleanup
Code cleanup
Really detect new and deleted branches