why was the tert butyl chloide washed with aqueous sodium hydrogen carbonate

Did you have acid in the reaction mixture. Not all of it was used. So you washed the product with NaHCO3 in order to neutralize any excess acid. Then you washed it with water to get rid of the excess NaHCO3.