As the owner of 4 pitbulls, my dogs from time to time have gotten into fights with one another. We usually seperate who ever has fought for one day. Then we put them back together and monitor their behavior. You will never know what triggered the fight to begin with and you will never know if another fight will happen again.
As for you being bitten well that has happened to us when we have broken up fights too. I honestly do not believe your dog meant to bite you. You just happened to get in the way at the wrong time. I do hope however that the bite wasn't severe.
Just keep an eye on your dogs for awhile to see how things are going.