Geba - Better, as in marginal reference “Gibeon.” Gazer should be “Gezer” (Joshua 10:33, etc.); it lay between the nether Bethhoron and the sea; on the direct route therefore which the Philistines, fleeing from Gibeon, would take. The exact site has now been identified (1 Kings 9:16).
Related Commentaries of 2 Samuel 5:25
2 Samuel 5:25
25 And David did so, as the LORD had commanded him; and smote the Philistines from Gebaf until thou come to Gazer.