The discipline of history uses the Chicago Manual of Style (CMOS) for citing and formatting sources. The most recent edition is the 17th.
You have choices. Here's a list of three popular, widely-used reference managers. Pick one that works well for you!
EndNote
Zotero
Mendeley