internal static void RemoveBranch(string repository, string branchId, string filePath)
        {
            List <Branch> queuedBranches = GetQueuedBranches(filePath);

            int index = BranchFinder.IndexOf(queuedBranches, repository, branchId);

            if (index == -1)
            {
                return;
            }

            queuedBranches.RemoveAt(index);
            WriteQueuedBranches(queuedBranches, filePath);
        }
        internal static bool Contains(string repository, string branchId, string filePath)
        {
            List <Branch> branches = GetQueuedBranches(filePath);

            return(BranchFinder.IndexOf(branches, repository, branchId) > -1);
        }