more work on repositories, added option for specify branch to send direct the processes to