By Henry Deacon (@H_Deaconmedia)
McNamara, 19, has had experience of the National League this season having played for Dover Athletic before being recalled by the Championship club.
McNamara operates as a right-back and will be eligible to play against Sutton United on Saturday.
First team manager Lee Bradbury is pleased with the signing, saying: “Danny will give us a bit of energy and pace and likes to get forward.
“He’s a very competitive player and I’m looking forward to getting him involved.”
Everyone at the Hawks would like to welcome Dan to the club.