Fixed Git Repositories

Git push continues working after application deploys

Repository hooks now follow the active application release when a push arrives.

Repositories created before an application deploy can now receive pushes normally. Magpie refreshes its controlled Git hooks against the active release before handling a write, so changing release directories does not leave an older repository pointing at code that has been removed.