This is a piece that is included in the 1725 notebook and until 1970, it was attributed to Johann Sebastien Bach however it is now thought to have been written by Christian Petzold.
This beautiful menuet, Menuet in G minor BWV Anh. 115 by Petzold from the Anna Magdalena book was an exam piece in the ABRSM Grade 2 piano syllabus in 2011 and 2012.