单项选择题

以下哪个命令可以将已暂存的文件提交到git服务器上?()

A.pull
B.push
C.checkout
D.commit