added APPBRANCH parameter to check against specific branch from git