The Biblical command:
The first Mitzvah the Jewish people were commanded in the Torah is to sanctify the new moon, as the verse states “This month is to you the head of the months.” This Biblical positive command obligated the Beis Din Hagadol to calculate as to when the new moon could be visible, and in the event that the new moon could be visible on the 30th day, then they must investigate any witnesses that approach the Beis Din, and upon acceptance of the testimony they have to publicize this matter to the Jewish people. Thus, the positive command includes three stages:
- To calculate the moon’s potential date of visibility.
- To interrogate the witnesses.
- To pronounce the day of Rosh Chodesh and publicize it to the Jewish people.
 Rashi Bereishis 1/1; See Likkutei Sichos 26/95; This Mitzvah is the 4th Mitzvah in Sefer Hachinuch and is the 153rd Mitzvah in the Sefer Hamitzvos of the Rambam.
 This refers to the Jewish people as a nation, however our forefathers were commanded the Mitzvos of procreating, Mila, and Gid Hanashe prior to the Jewish people’s existence.
 Shemos 12/2
 In Sefer Hachinuch ibid and Sefer Hamitzvos of the Rambam [Mitzvah 153] this verse is listed as the source of this positive command. However, in Mishneh Torah Kiddush Hachodesh 1/7 the Rambam mentions the verse “Asher Tikreu Osam Mikraeiy Kodesh”.