Whenever owners of adjoining lots or part lots of land in the City of Savannah shall, in writing, agree to build a party wall or fence on the line of the respective owners, and to keep the same in repair, said owners may record such agreement in the clerk's office of the Superior Court of Chatham County within the time and on the terms for recording conveyances of real estate; and such agreement, so recorded, shall operate as a covenant running with the land, and shall be binding on the said respective owners, and their heirs and assigns, and the same effect shall be given to similar agreement for the repairing only of a party wall or fence, such agreement being properly recorded, as aforesaid.