**Now** 1. User has 2 versions of a rep (master and beta) 2. Updates at the same time 3. Things get messy, since both updates use same folder config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY).'/'); **Should be** config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY+BRANCH).'/');