add branch aware dependency